package com.zc.dao;

import com.zc.dto.PageDto;
import com.zc.entity.TwoProduce;

import java.util.List;

public interface TwoProduceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TwoProduce record);

    int insertSelective(TwoProduce record);

    TwoProduce selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TwoProduce record);

    int updateByPrimaryKey(TwoProduce record);

    List<TwoProduce> findAll(PageDto page)throws Exception;

    Integer pageCount()throws Exception;
}